package com.gaohe.pojo;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;


/**
 * @Classname Category
 * @Description
 * @Date 2024/6/17 17:26
 * @Created by 高合吴彦祖鹏哥
 */
@Data
public class Category implements Serializable {
    private static final long serialVersionUID = 1L;
    private Long id;
    private String name;
    private Integer sort;
    /** 创建时间*/
    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime createTime;
    /** 最后修改时间*/
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private LocalDateTime updateTime;
    @TableField(fill = FieldFill.INSERT)
    private Long createUser;
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Long updateUser;
}
